
export const formData = {
    getItemUrl: 'system/article/getItemById/',
    updateUrl: 'system/article/updateAction/',
    createUrl: 'system/article/createAction/',
    formKey: 'article',
    updateFieldList: [
        { formType: 'Record', showName: '分类', key: 'cate', width: 6, label: 'label', value: 'id', required: true },
        { formType: 'Input', showName: '标题', key: 'title', width: 6, required: true },
        { formType: 'Input', showName: '摘要', key: 'subTitle', width: 6},
        { formType: 'Upload', showName: '封面', key: 'coverUrl', width: 6, required: true },
        { formType: 'RichText', showName: '内容', key: 'content', width: 10},
    ],
    detailFieldList: [
        { formType: 'Input', showName: '名称', key: 'name', width: 6 },
    ],
    options: {
        status: [
            {value: '1', label: "正常"},
            {value: '2', label: "异常"}
        ],
        isShow: [
            {value: 1, label: "是"},
            {value: 0, label: "否"}
        ]
    },
    dicts: {
        status: {
            '1': "正常",
            '2': "异常"
        }
    }
}
